package com.courseSchedulingSystem.service.impl;

import com.courseSchedulingSystem.mapper.CommonMapper;
import com.courseSchedulingSystem.pojo.entity.Student;
import com.courseSchedulingSystem.service.CommonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CommonServiceImpl implements CommonService {
    @Autowired
    private CommonMapper commonMapper;
    @Override
    public List<Student> selectAllStudents() {
        return commonMapper.selectAllStudents();
    }
}
